<!-- 企业报告 -->
<template>
    <el-drawer :visible.sync="drawerVisible" direction="rtl" :with-header="false">
        <span>企业报告</span>
    </el-drawer>
</template>
<script>
export default {
    props: {
        visible: {
            type: Boolean,
            default: false,
        },
    },
    data() {
        return {
            drawerVisible: this.visible
        }
    },
    watch: {
        visible(newVal) {
            this.drawerVisible = newVal;
        },
        drawerVisible(newVal) {
            this.$emit('update:visible', newVal);
        },
    },
    methods: {
        handleClose() {
            this.drawerVisible = false;
        }
    },
}
</script>
<style></style>